package com.geyue.core.model;

import com.geyue.common.base.model.Model;
import lombok.Data;

import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * Created by Lyon on 2017/5/13.
 */
@Data
@Table(name = "card")
public class Card extends Model {

    public static final int RP = 0;
    public static final int JD = 1;


    @NotNull
    private Integer type;
    @NotNull
    private Integer integral;

}
